﻿using EventHandlerDemo.Domain.OrderEventLogs;
using EventHandlerDemo.Infrastructure.EFCore;

namespace EventHandlerDemo.Infrastructure.Repositories.OrderEventLogs
{
    public class OrderEventLogRepository : RepositoryBase, IOrderEventLogRepository
    {
        public OrderEventLogRepository(AppDbContext dbContext) : base(dbContext)
        {

        }

        public async Task InsertAsync(OrderEventLog orderEventLog)
        {
            await _dbContext.AddAsync(orderEventLog);
        }
    }
}
